#!/bin/bash
for file in `find * | grep demo`
do 
  newfile=`echo $file | sed "s/demo/dos/g"`
  mv $file $newfile
  echo $file
done 
for file in `find * | grep Demo`
do 
  newfile=`echo $file | sed "s/Demo/Dos/g"`
  mv $file $newfile
  echo $file
done
